package com.hyt.it.ogt.ks.model.vo;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author liuhh
 */

@Data
@Accessors(chain = true)
@ToString
@ApiModel(value = "考试配置")
public class ExamConfigVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "配置项类型", required = true)
    @Length(min = 1, max = 50, message = "配置项类型长度不能超过50")
    @NotNull(message = "配置项类型不能为空")
    private String configType;

    @ApiModelProperty(value = "配置项属性（文本框，下拉框，单选框等）", required = true)
    @Length(max = 50, message = "配置项属性长度不能超过50")
    @NotNull(message = "配置项属性不能为空")
    private String  configAttribute;

    @ApiModelProperty(value = "配置项代码", required = true)
    @Length(min = 1, max = 50, message = "配置项代码长度不能超过50")
    @NotNull(message = "配置项代码不能为空")
    private String configCode;

    @ApiModelProperty(value = "配置名称", required = true)
    @Length(min = 1, max = 50, message = "配置名称长度不能超过50")
    @NotNull(message = "配置名称不能为空")
    private String configName;

    @ApiModelProperty(value = "配置项值", required = true)
    @Length(max = 50, message = "配置项值长度不能超过50")
    private String configValue;


}